//
// Decompiled by Jadx - 384ms
//
package gc;

import androidx.activity.b;
import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XposedHelpers;
import fn.j;
import gc.z;
import java.io.File;
import r.f;
import r.g;

public class ck$a$a implements z.c {
    public final File a;
    public final Object d;
    public final XC_MethodHook.MethodHookParam e;

    public ck$a$a(File file, Object obj, XC_MethodHook.MethodHookParam methodHookParam) {
        this.a = file;
        this.d = obj;
        this.e = methodHookParam;
    }

    public final void b(String str) {
        Object obj = this.d;
        try {
            XposedHelpers.setObjectField(obj, "fileDuration", Integer.valueOf(Integer.parseInt(String.valueOf(g.k(this.a.getPath()) / 1000))));
            XposedHelpers.setObjectField(obj, "fileUrl", str);
            f i = f.i();
            i.n();
            i.l("已替换瞬间语音");
            j.w(this.e);
        } catch (NumberFormatException unused) {
            b.u("m4a语音时长填写错误");
        }
    }

    public final void c(String str) {
        b.u(str);
    }
}
